package cn.edu.hpu.jie.entity;

/**
 * 系统用户信息
 * @author Jie
 *
 */
public class User {
	private int id;
	private String username;
	private String password;
	
	/**
	 * 1 超级管理员(superAdmin)
	 * 2 管理员(admin)
	 */
	private int role;
	private boolean enable;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getRole() {
		return role;
	}
	public void setRole(int role) {
		this.role = role;
	}
	public boolean isEnable() {
		return enable;
	}
	public void setEnable(boolean enable) {
		this.enable = enable;
	}
}
